package com.tj.collection.controller.admin.response;

import com.fqgj.common.api.ResponseData;
import com.fqgj.common.utils.CollectionUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/14
 * Time: 下午7:13
 */
public class RoleMenuIdsResponse implements ResponseData {
    private List<String> list = new ArrayList<>();

    public RoleMenuIdsResponse(List<Long> menuIds) {
        if (CollectionUtils.isEmpty(menuIds)) {
            return;
        }

        for (Long menuId : menuIds) {
            list.add(menuId + "");
        }
    }
}
